home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / graphic / gle33b_4.zip / GLE_SUR.ZIP / CONTOUR.HLP < prev    next >
Text File  |  1991-06-27  |  2KB  |  47 lines

  1.     This utility produces a graph with contour lines.
  2.  
  3.     For input you give it grid of z values in a file the 
  4.      x and y values are assumed.
  5.  
  6.     e.g. a 4x3 grid of points would look like this:
  7. --- cut here ----
  8. ! nx 4 ny 3 xmin 0 xmax 0 xmax 6 ymax 0 ymax 10
  9. 1 1 1 1
  10. 1 2 2 1
  11. 1 1 1 1
  12. ---- and here ---
  13.  
  14. This defines the points        0,0,1   2,0,1   4,0,1  6,0,1
  15.                 0,5,1   2,5,2   4,5,2  6,5,1
  16.                 0,10,1  2,10,1  4,10,1 6,10,1
  17.     
  18.     You would normally generate this file using the utility LETZ
  19.     or FITZ.
  20.  
  21.     LETZ takes an x,y function and produces a grid of z values
  22.  
  23.     FITZ takes a file of x,y,z data points and fits a grid of z values.
  24.  
  25.     Having created a data file of the correct sort CONTOUR will
  26.     ask for a list of values to contour at,  you can enter 
  27.     a list of values, e.g. "1 2 3 4.5 5"  or you can enter
  28.     a range and step size e.g. "1:3:.5" which would generate
  29.     "1 1.5 2 2.5 3"
  30.  
  31.     You are then asked if you want the lines labeled with 
  32.     the letters A...Z or by the actual numbers.
  33.  
  34.     Then you are asked for a file name to write output to.  If
  35.     you give the name XYZ then CONTOUR will create:
  36.  
  37.         xyz.gle        ! The gle file to draw the contour plot
  38.         xyz.dat        ! The data file containing the contour lines
  39.         xyz.lab        ! A gle include file which labels the graph
  40.         xyz.key        ! A gle include file which draws a key
  41.  
  42.     Then wait while the contours are calculated, this takes some
  43.     time (even on a fast PC) e.g. 10 seconds on 33Mhz 386.    
  44.     The exact time will depend on the number of points and number
  45.     of contour lines you are using.
  46.  
  47.